<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DAQ_LOG: DAQ::RollFileAppender Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DAQ_LOG
   </div>
   <div id="projectbrief">logger</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>DAQ</b></li><li class="navelem"><a class="el" href="classDAQ_1_1RollFileAppender.html">RollFileAppender</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classDAQ_1_1RollFileAppender-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DAQ::RollFileAppender Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>滚动输出到文件  
 <a href="classDAQ_1_1RollFileAppender.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="appender_8hpp_source.html">appender.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DAQ::RollFileAppender:</div>
<div class="dyncontent">
<div class="center"><img src="classDAQ_1_1RollFileAppender__inherit__graph.png" border="0" usemap="#DAQ_1_1RollFileAppender_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for DAQ::RollFileAppender:</div>
<div class="dyncontent">
<div class="center"><img src="classDAQ_1_1RollFileAppender__coll__graph.png" border="0" usemap="#DAQ_1_1RollFileAppender_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 1 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3f22e7355e4648b9f8c55210c4a48f5"><td class="memItemLeft" align="right" valign="top"><a id="ac3f22e7355e4648b9f8c55210c4a48f5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#ac3f22e7355e4648b9f8c55210c4a48f5">RollFileAppender</a> ()=default</td></tr>
<tr class="memdesc:ac3f22e7355e4648b9f8c55210c4a48f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数 <br /></td></tr>
<tr class="separator:ac3f22e7355e4648b9f8c55210c4a48f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ca22efe9d46c9b6a2640ca62ae5574e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a9ca22efe9d46c9b6a2640ca62ae5574e">RollFileAppender</a> (const std::string &amp;path, u_int32_t size=8, const std::string &amp;prefix=&quot;&quot;, const std::string &amp;subfix=&quot;&quot;)</td></tr>
<tr class="memdesc:a9ca22efe9d46c9b6a2640ca62ae5574e"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="#a9ca22efe9d46c9b6a2640ca62ae5574e">More...</a><br /></td></tr>
<tr class="separator:a9ca22efe9d46c9b6a2640ca62ae5574e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01ac52e95b2d62e4fb9acf17b73670dd"><td class="memItemLeft" align="right" valign="top"><a id="a01ac52e95b2d62e4fb9acf17b73670dd"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a01ac52e95b2d62e4fb9acf17b73670dd">~RollFileAppender</a> ()</td></tr>
<tr class="memdesc:a01ac52e95b2d62e4fb9acf17b73670dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a01ac52e95b2d62e4fb9acf17b73670dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81223817b0bc2a365a8fa70271766bc2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a81223817b0bc2a365a8fa70271766bc2">append</a> (LogEvent::sptr event) override</td></tr>
<tr class="memdesc:a81223817b0bc2a365a8fa70271766bc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">日志输出函数  <a href="#a81223817b0bc2a365a8fa70271766bc2">More...</a><br /></td></tr>
<tr class="separator:a81223817b0bc2a365a8fa70271766bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5ad9874ab7775d5d6df97242eeba5c6"><td class="memItemLeft" align="right" valign="top"><a id="ae5ad9874ab7775d5d6df97242eeba5c6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#ae5ad9874ab7775d5d6df97242eeba5c6">createNewFile</a> ()</td></tr>
<tr class="memdesc:ae5ad9874ab7775d5d6df97242eeba5c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">createNewFile 创建新的log文件名，并不打开文件 <br /></td></tr>
<tr class="separator:ae5ad9874ab7775d5d6df97242eeba5c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa261388f488979a3ee02ccf66fe69a2f"><td class="memItemLeft" align="right" valign="top"><a id="aa261388f488979a3ee02ccf66fe69a2f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>reopen</b> ()</td></tr>
<tr class="separator:aa261388f488979a3ee02ccf66fe69a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae88455f339cae96ab90016d89f9ded95"><td class="memItemLeft" align="right" valign="top"><a id="ae88455f339cae96ab90016d89f9ded95"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>closeFile</b> ()</td></tr>
<tr class="separator:ae88455f339cae96ab90016d89f9ded95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d55f46b0226a36a7f33fa6580525ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a61d55f46b0226a36a7f33fa6580525ab">setPath</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:a61d55f46b0226a36a7f33fa6580525ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置输出目录  <a href="#a61d55f46b0226a36a7f33fa6580525ab">More...</a><br /></td></tr>
<tr class="separator:a61d55f46b0226a36a7f33fa6580525ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a068d8104f4c0ac82feadfd23520b402e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a068d8104f4c0ac82feadfd23520b402e">setPrefix</a> (const std::string &amp;prefix)</td></tr>
<tr class="memdesc:a068d8104f4c0ac82feadfd23520b402e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置前缀  <a href="#a068d8104f4c0ac82feadfd23520b402e">More...</a><br /></td></tr>
<tr class="separator:a068d8104f4c0ac82feadfd23520b402e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15303e8f223e7b279f0a3cd97e699e2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1RollFileAppender.html#a15303e8f223e7b279f0a3cd97e699e2e">setSubfix</a> (const std::string &amp;subfix)</td></tr>
<tr class="memdesc:a15303e8f223e7b279f0a3cd97e699e2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置后缀  <a href="#a15303e8f223e7b279f0a3cd97e699e2e">More...</a><br /></td></tr>
<tr class="separator:a15303e8f223e7b279f0a3cd97e699e2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classDAQ_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classDAQ_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classDAQ_1_1Appender.html">DAQ::Appender</a></td></tr>
<tr class="memitem:a34ee6c76db409f3f6368d61dcd19dac6 inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a34ee6c76db409f3f6368d61dcd19dac6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a34ee6c76db409f3f6368d61dcd19dac6">Appender</a> ()=default</td></tr>
<tr class="memdesc:a34ee6c76db409f3f6368d61dcd19dac6 inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classDAQ_1_1Appender.html" title="输出器的虚基类 ">Appender</a> 默认构造函数 <br /></td></tr>
<tr class="separator:a34ee6c76db409f3f6368d61dcd19dac6 inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3711b48f74b2d2146eb67c052398d118 inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a3711b48f74b2d2146eb67c052398d118">Appender</a> (const <a class="el" href="classDAQ_1_1Formatter.html">Formatter</a> formatter)</td></tr>
<tr class="memdesc:a3711b48f74b2d2146eb67c052398d118 inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="classDAQ_1_1Appender.html#a3711b48f74b2d2146eb67c052398d118">More...</a><br /></td></tr>
<tr class="separator:a3711b48f74b2d2146eb67c052398d118 inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a464573d7906d91c4969fc90764d07cb9 inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a464573d7906d91c4969fc90764d07cb9">Appender</a> (const std::string &amp;formatter)</td></tr>
<tr class="memdesc:a464573d7906d91c4969fc90764d07cb9 inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="classDAQ_1_1Appender.html#a464573d7906d91c4969fc90764d07cb9">More...</a><br /></td></tr>
<tr class="separator:a464573d7906d91c4969fc90764d07cb9 inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54b9cecd0811e8fd9090a6491c8b0582 inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a54b9cecd0811e8fd9090a6491c8b0582">getId</a> () const</td></tr>
<tr class="memdesc:a54b9cecd0811e8fd9090a6491c8b0582 inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">getId 得到Appender的id 避免相同LogAppender加入到Logger，使得重复输出  <a href="classDAQ_1_1Appender.html#a54b9cecd0811e8fd9090a6491c8b0582">More...</a><br /></td></tr>
<tr class="separator:a54b9cecd0811e8fd9090a6491c8b0582 inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f8a1329c7c35c96c9b073b4a54e22b3 inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a3f8a1329c7c35c96c9b073b4a54e22b3">setFormatter</a> (Formatter::sptr formatter)</td></tr>
<tr class="memdesc:a3f8a1329c7c35c96c9b073b4a54e22b3 inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置输出格式  <a href="classDAQ_1_1Appender.html#a3f8a1329c7c35c96c9b073b4a54e22b3">More...</a><br /></td></tr>
<tr class="separator:a3f8a1329c7c35c96c9b073b4a54e22b3 inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37a4e7012accc17644bf9ac4b105b78d inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a37a4e7012accc17644bf9ac4b105b78d">hasFormatter</a> ()</td></tr>
<tr class="memdesc:a37a4e7012accc17644bf9ac4b105b78d inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否已经有了Formatter  <a href="classDAQ_1_1Appender.html#a37a4e7012accc17644bf9ac4b105b78d">More...</a><br /></td></tr>
<tr class="separator:a37a4e7012accc17644bf9ac4b105b78d inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedd2a807ae2ef4a005df4c358ab7d57e inherit pub_methods_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="aedd2a807ae2ef4a005df4c358ab7d57e"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#aedd2a807ae2ef4a005df4c358ab7d57e">~Appender</a> ()=default</td></tr>
<tr class="memdesc:aedd2a807ae2ef4a005df4c358ab7d57e inherit pub_methods_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:aedd2a807ae2ef4a005df4c358ab7d57e inherit pub_methods_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classDAQ_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classDAQ_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classDAQ_1_1Appender.html">DAQ::Appender</a></td></tr>
<tr class="memitem:a209795e48e78f3ccec42f88771ada74f inherit pub_types_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a209795e48e78f3ccec42f88771ada74f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>sptr</b> = std::shared_ptr&lt; <a class="el" href="classDAQ_1_1Appender.html">Appender</a> &gt;</td></tr>
<tr class="separator:a209795e48e78f3ccec42f88771ada74f inherit pub_types_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classDAQ_1_1Appender"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classDAQ_1_1Appender')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classDAQ_1_1Appender.html">DAQ::Appender</a></td></tr>
<tr class="memitem:ad670cd57ea4693b856a0d0071331294f inherit pro_attribs_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="ad670cd57ea4693b856a0d0071331294f"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_id</b> = &quot;Appender&quot;</td></tr>
<tr class="separator:ad670cd57ea4693b856a0d0071331294f inherit pro_attribs_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35aed18cb1cbb04cee3ed4868b9e6624 inherit pro_attribs_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="a35aed18cb1cbb04cee3ed4868b9e6624"></a>
Formatter::sptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDAQ_1_1Appender.html#a35aed18cb1cbb04cee3ed4868b9e6624">m_formatter</a></td></tr>
<tr class="memdesc:a35aed18cb1cbb04cee3ed4868b9e6624 inherit pro_attribs_classDAQ_1_1Appender"><td class="mdescLeft">&#160;</td><td class="mdescRight">避免相同LogAppender加入到Logger，使得重复输出 <br /></td></tr>
<tr class="separator:a35aed18cb1cbb04cee3ed4868b9e6624 inherit pro_attribs_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae118c5846591a912ceed6abb84a5b64b inherit pro_attribs_classDAQ_1_1Appender"><td class="memItemLeft" align="right" valign="top"><a id="ae118c5846591a912ceed6abb84a5b64b"></a>
std::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>m_appendMutex</b></td></tr>
<tr class="separator:ae118c5846591a912ceed6abb84a5b64b inherit pro_attribs_classDAQ_1_1Appender"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>滚动输出到文件 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9ca22efe9d46c9b6a2640ca62ae5574e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ca22efe9d46c9b6a2640ca62ae5574e">&#9670;&nbsp;</a></span>RollFileAppender()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DAQ::RollFileAppender::RollFileAppender </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int32_t&#160;</td>
          <td class="paramname"><em>size</em> = <code>8</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>subfix</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>日志存放目录 </td></tr>
    <tr><td class="paramname">size</td><td>文件大小 </td></tr>
    <tr><td class="paramname">prefix</td><td>文件前缀 </td></tr>
    <tr><td class="paramname">subfix</td><td>文件后缀 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a81223817b0bc2a365a8fa70271766bc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81223817b0bc2a365a8fa70271766bc2">&#9670;&nbsp;</a></span>append()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DAQ::RollFileAppender::append </td>
          <td>(</td>
          <td class="paramtype">LogEvent::sptr&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>日志输出函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">日志事件</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classDAQ_1_1Appender.html#a49ebbcec4d879ba461080479fa1085aa">DAQ::Appender</a>.</p>

</div>
</div>
<a id="a61d55f46b0226a36a7f33fa6580525ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61d55f46b0226a36a7f33fa6580525ab">&#9670;&nbsp;</a></span>setPath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DAQ::RollFileAppender::setPath </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置输出目录 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">输出目录</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a068d8104f4c0ac82feadfd23520b402e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a068d8104f4c0ac82feadfd23520b402e">&#9670;&nbsp;</a></span>setPrefix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DAQ::RollFileAppender::setPrefix </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置前缀 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">前缀</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a15303e8f223e7b279f0a3cd97e699e2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15303e8f223e7b279f0a3cd97e699e2e">&#9670;&nbsp;</a></span>setSubfix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DAQ::RollFileAppender::setSubfix </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>subfix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置后缀 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">后缀</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="appender_8hpp_source.html">appender.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
